package com.anti.jdbc.support.page;

import java.io.Serializable;

/**
 * @Description TODO
 * @Author anTi
 * @Date 2020-10-6
 */
public class PageParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer pageSize = 20;
    private Integer pageIndex = 0;
    private Integer total = 0;
    private String sortField;
    private String sortOrder;
    private String aggregate;
    private String order;

    public PageParam() {
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageIndex() {
        return this.pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getTotal() {
        return this.total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getSortField() {
        return this.sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getSortOrder() {
        return this.sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getAggregate() {
        return this.aggregate;
    }

    public void setAggregate(String aggregate) {
        this.aggregate = aggregate;
    }

    public String getOrder() {
        return this.order;
    }

    public void setOrder(String order) {
        this.order = order;
    }
}
